package com.gdkj.entity.game;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @Description  
 * @Author  zhangwen
 * @Date 2022-09-26 
 */

@Data
@Table(name = "cmf_kcoin_user")
public class CmfKcoinUser  implements Serializable {

	private static final long serialVersionUID =  8348859066316404344L;

	@ApiModelProperty(value = "用户id")
	@Id
	private Long uid;

	@ApiModelProperty(value = "用户昵称")
	@Transient
	private String nickName;

	@ApiModelProperty(value = "用户账号")
	@Transient
	private String userNumber;

	@ApiModelProperty(value = "金币余额")
	private Long coin;

	@ApiModelProperty(value = "金币累计获得")
	@Column(name = "coin_recive")
	private Integer coinRecive;

	@ApiModelProperty(value = "金币累计消耗")
	@Column(name = "coin_use")
	private Integer coinUse;

	@ApiModelProperty(value = "k钻余额")
	@Column(name = "k_coin")
	private Integer kCoin;

	@ApiModelProperty(value = "k钻累计获得")
	@Column(name = "k_coin_recive")
	private Integer kCoinRecive;

	@ApiModelProperty(value = "k钻累计消耗")
	@Column(name = "k_coin_use")
	private Integer kCoinUse;

	@ApiModelProperty(value = "k豆余额")
	@Column(name = "k_bean")
	private Integer kBean;

	@ApiModelProperty(value = "k豆累计获得")
	@Column(name = "k_bean_recive")
	private Integer kBeanRecive;

	@ApiModelProperty(value = "k豆累计消耗")
	@Column(name = "k_bean_use")
	private Integer kBeanUse;

	@ApiModelProperty(value = "五子棋已达到三连胜")
	@JsonIgnore
	private Integer goBangWinThree;

	@ApiModelProperty(value = "五子棋已达到七连胜")
	@JsonIgnore
	private Integer goBangWinSeven;

	@ApiModelProperty(value = "五子棋已连玩三天")
	@JsonIgnore
	private Integer goBangPlayThree;

	@ApiModelProperty(value = "国际跳棋已达到三连胜")
	@JsonIgnore
	private Integer draughtsWinThree;

	@ApiModelProperty(value = "国际跳棋已达到七连胜")
	@JsonIgnore
	private Integer draughtsWinSeven;

	@ApiModelProperty(value = "国际跳棋已连玩三天")
	@JsonIgnore
	private Integer draughtsPlayThree;
}
